.Net Framework > v4.0.30319.1 > System > Linq > Enumerable > ToDictionary<TSource,TKey,TElement> ToDictionary<TSource,TKey,TElement>(IEnumerable<TSource>,Func<TSource,TKey>,Func<TSource,TElement>)
ToDictionary<TSource,TKey,TElement>(IEnumerable<TSource>,Func<TSource,TKey>,Func<TSource,TElement>,IEqualityComparer<TKey>)


ToDictionary<TSource,TKey,TElement>(IEnumerable<TSource>,Func<TSource,TKey>,Func<TSource,TElement>)

Category
Method
Type
System.Collections.Generic.Dictionary<TKey,TElement>
Character
public, static
Parameters
NameTypeDescription
sourceSystem.Collections.Generic.IEnumerable<TSource>
keySelectorSystem.Func<TSource,TKey>
elementSelectorSystem.Func<TSource,TElement>
Attributes
NameValue/Assignment
ExtensionAttribute
TargetedPatchingOptOutAttributePerformance critical to inline this type of method across NGen image boundaries
Tags
01892ABD01, 02E3ABA98D, 03057FF933

ToDictionary<TSource,TKey,TElement>(IEnumerable<TSource>,Func<TSource,TKey>,Func<TSource,TElement>,IEqualityComparer<TKey>)

Category
Method
Type
System.Collections.Generic.Dictionary<TKey,TElement>
Character
public, static
Parameters
NameTypeDescription
sourceSystem.Collections.Generic.IEnumerable<TSource>
keySelectorSystem.Func<TSource,TKey>
elementSelectorSystem.Func<TSource,TElement>
comparerSystem.Collections.Generic.IEqualityComparer<TKey>
Attributes
NameValue/Assignment
ExtensionAttribute
Tags
01892ABD01, 02E3ABA98D, 03057FF933

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database